namespace RxjhServer.Network
{
	public class TcpClientEvent
	{
		public delegate HandleResult OnPrepareConnectEventHandler(TcpClient sender, uint socket);

		public delegate HandleResult OnConnectEventHandler(TcpClient sender);

		public delegate HandleResult OnSendEventHandler(TcpClient sender, byte[] bytes);

		public delegate HandleResult OnReceiveEventHandler(TcpClient sender, byte[] bytes);

		public delegate HandleResult OnCloseEventHandler(TcpClient sender, SocketOperation enOperation, int errorCode);
	}
}
